﻿#region Using Statements
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Runtime.InteropServices;
#endregion

namespace WpfFootball.UI
{
    [StructLayout(LayoutKind.Sequential)]
    public struct Margins
    {
        public int Left;
        public int Right;
        public int Top;
        public int Bottom;

        public Margins(Thickness thickness)
        {
            Left = (int)thickness.Left;
            Right = (int)thickness.Right;
            Top = (int)thickness.Top;
            Bottom = (int)thickness.Bottom;
        }
    }
}
